package com.linq.cool.pay.service;

import com.linq.cool.common.core.domain.Result;
import com.linq.cool.common.core.utils.JsonUtils;

/**
 * @Author: yqlin
 * @Date: 2021/1/21 00:29
 * @Description:
 * @Version: 1.0.0
 */
public class TestRefund {
    public static void main(String[] args) {
        String outTradeNo = "1201331351351351351315199621321";
        String tradeNo = "2021012122001478230504862799";
        String refudAmount = "50";
        String refudReason = "不想要了";
        Result<?> result = AlipayService.payBack(outTradeNo, tradeNo, refudAmount, refudReason, "BK12345681");
        System.out.println(JsonUtils.printJson(result));
    }
}
